Home > biomechZoo > Toolbox > Support Functions > textbp.m

textbp

PURPOSE ^

TEXTBP implements 'best' location for text, a la legend

SYNOPSIS ^

function ht = textbp(string,varargin)

DESCRIPTION ^

 TEXTBP  implements 'best' location for text, a la legend
    TEXTBP uses a modified LSCAN algorithm from the old MATLAB
    LEGEND command to place text such that it minimizes the
    obscuration of data points.

    TEXTBP(STRING) is the simplest use of this function.  Any text
    properties can be passed in by the same methods implemented in
    the MATLAB TEXT builtin function. ie, following the STRING
    with (PropertyName,PropertyValue) pairs. 

    HT = TEXTBP(STRING) returns the handle to the text object

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005